home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
trueSpace 7.6
/
tS761B8Std.exe
/
{app}
/
Scripts
/
MaterialEditor
/
Bricks
/
Functions
/
log.HLSL.Brick.xml
< prev
next >
Wrap
Extensible Markup Language
|
2008-06-10
|
1KB
|
27 lines
<?xml version="1.0" encoding="utf-8" ?>
<ME_BRICK GUID="{D155F1D9-CB0A-47A9-AEB6-C5B7072AA2A2}" Name="RtLog" GUIName="Log" Description="Returns the base-e logarithm of X (Per component) [log]">
<ME_BRICK_INPUTPARAM GUID="{AF68EEFB-E178-4C79-B2D1-F6EA5CE80B25}" Name="Input" Type="RtNumeric"/>
<ME_BRICK_OUTPUTPARAM GUID="{7CA418A8-F48B-4187-9649-7C2F88946F29}" Name="Result" Type="RtNumeric"/>
<ME_BRICK_CODE><![CDATA[
void RtLog(in RtFloat Input, out RtFloat Result) {
Result = rtx_Log(Input);
}
void RtLog(in RtFloat3 Input, out RtFloat3 Result) {
Result = rtx_Log(Input);
}
void RtLog(in RtFloat4 Input, out RtFloat4 Result) {
Result = rtx_Log(Input);
}
void RtLog(in RtFloat3x3 Input, out RtFloat3x3 Result) {
Result = rtx_Log(Input);
}
void RtLog(in RtFloat4x4 Input, out RtFloat4x4 Result) {
Result = rtx_Log(Input);
}
]]></ME_BRICK_CODE>
</ME_BRICK>